<template>
  <div>
    <div class="button"  @click="$emit('click')"><slot></slot></div>
  </div>
</template>

<script>
  export default {
    props: {
      onClick: {
        type: Function,
        default: () => {}
      }
    },
  }
</script>


<style scoped lang="scss">
.button{
  width: 100%;
  height: 50px;
  background: linear-gradient( 90deg, #973DF1 0%, #5134C3 100%);
  box-shadow: 0px 4px 4px 0px rgba(92,18,187,0.25), inset 0px 4px 4px 0px rgba(249,249,249,0.25);
  border-radius: 30px 30px 30px 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 800;
  font-size: 16px;

  color: #FFFFFF;
}
</style>